################################################
#
# Events for Prussia
#
# ID 50000 - 59999 is reserved
#
#
#################################################
#
# Written by Sara Wendel-rtqvist

### Queen Louise's meeting with Napoleon ###
country_event = {
	id = 50000
	title = "EVTNAME50000"
	desc = "EVTDESC50000"
	
	fire_only_once = yes
	
	trigger = {
		tag = PRU
		OR = {
			war_with = FRA
			truce_with = FRA
		}
		NOT = {
			has_country_flag = queen_louise_dead_flag
		}
	}
	
	mean_time_to_happen = {
		months = 12
	}
	
	option = {
		name = "EVTOPT_OK"
		relation = {
			who = FRA
			value = -15
		}
	}
}

### Napoleon tries to destroy Queen Louise's reputation but fails ###
country_event = {
	id = 50010
	title = "EVTNAME50010"
	desc = "EVTDESC50010"
	
	fire_only_once = yes
	
	trigger = {
		tag = PRU
		truce_with = FRA
		NOT = {
			has_country_flag = queen_louise_dead_flag
		}
	}
	
	mean_time_to_happen = {
		months = 12
	}
	
	option = {
		name = "EVTOPT_OK"
		relation = {
			who = FRA
			value = -10
		}		
	}
}

### Queen Louise of Mecklenburg-Strelitz dies ### Napoleon: "The king has lost his best minister."
country_event = {
	id = 50020
	title = "EVTNAME50020"
	desc = "EVTDESC50020"
	
	fire_only_once = yes
	
	trigger = {
		tag = PRU
		year = 1810
		NOT = {
			has_country_modifier = queen_louise_dead
		}
		NOT = {
			has_country_flag = queen_louise_dead_flag
		}
	}
	
	mean_time_to_happen = {
		months = 12
	}
	
	immediate = {
		set_country_flag = queen_louise_dead_flag
	}
	
	option = {
		name = "EVTOPT_OK"
		add_country_modifier = {
			name = queen_louise_dead
			duration = 365
		}
	}
}

### Heinrich Friedrich Karl vom und zum Stein ###
country_event = {
	id = 50030
	title = "EVTNAME50030"
	desc = "EVTDESC50030"
	
	fire_only_once = yes
	
	trigger = {
		tag = PRU
		war_with = FRA
		year = 1807
		NOT = {
			has_country_flag = stein_flag
		}
		NOT = {
			has_country_modifier = hfk_stein
		}
	}
	
	mean_time_to_happen = {
		months = 12
		
		modifier = {
			factor = 0.9
			NOT = { treasury = 1000 }
		}
		modifier = {
			factor = 0.9
			NOT = { treasury = 500 }
		}
	}
	
	immediate = {
		set_country_flag = stein_flag
	}
	
	option = {
		name = "EVTOPTA50030"
		add_country_modifier = {
			name = hfk_stein
			duration = 365
		}
	}
}

# First Prussian Reforms #
country_event = {
	id = 50031
	title = "EVTNAME50031"
	desc = "EVTDESC50031"
	
	fire_only_once = yes
	
	trigger = {
		tag = PRU
		NOT = {
			has_country_flag = first_prussian_reforms_flag
		}
		NOT = {
			has_country_flag = second_prussian_reforms_flag
		}
		NOT = {
			has_country_flag = third_prussian_reforms_flag
		}
		had_country_flag = {
			flag = stein_flag
			days = 100
		}
	}
	
	mean_time_to_happen = {
		months = 12
		
		modifier = {
			factor = 0.9
			NOT = { treasury = 1000 }
		}
		modifier = {
			factor = 0.9
			NOT = { treasury = 500 }
		}
	}
	
	immediate = {
		set_country_flag = first_prussian_reforms_flag
	}
	
	option = {
		name = "EVTOPTA50031"
		add_country_modifier = {
			name = first_prussian_reforms
			duration = 730
		}
	}
}

# Second Prussian Reforms #
country_event = {
	id = 50032
	title = "EVTNAME50032"
	desc = "EVTDESC50032"
	
	fire_only_once = yes
	
	trigger = {
		tag = PRU
		had_country_flag = {
			flag = first_prussian_reforms_flag
			days = 100
		}
		NOT = {
			has_country_flag = second_prussian_reforms_flag
		}
		NOT = {
			has_country_flag = third_prussian_reforms_flag
		}
	}
	
	mean_time_to_happen = {
		months = 12
		
		modifier = {
			factor = 0.9
			NOT = { treasury = 1000 }
		}
		modifier = {
			factor = 0.9
			NOT = { treasury = 500 }
		}
	}
	
	immediate = {
		set_country_flag = second_prussian_reforms_flag
	}
	
	option = {
		name = "EVTOPTA50032"
		clr_country_flag = first_prussian_reforms_flag
		add_country_modifier = {
			name = second_prussian_reforms
			duration = 730
		}
	}
}

# Third Prussian Reforms #
country_event = {
	id = 50033
	title = "EVTNAME50033"
	desc = "EVTDESC50033"
	
	fire_only_once = yes
	
	trigger = {
		tag = PRU
		had_country_flag = {
			flag = second_prussian_reforms_flag
			days = 100
		}
		NOT = {
			has_country_flag = third_prussian_reforms_flag
		}
	}
	
	mean_time_to_happen = {
		months = 12
		
		modifier = {
			factor = 0.9
			NOT = { treasury = 1000 }
		}
		modifier = {
			factor = 0.9
			NOT = { treasury = 500 }
		}
	}
	
	immediate = {
		set_country_flag = third_prussian_reforms_flag
	}
	
	option = {
		name = "EVTOPTA50033"
		clr_country_flag = second_prussian_reforms_flag
		add_country_modifier = {
			name = third_prussian_reforms
			duration = 730
		}
	}
}

### Heinrich Friedrich Karl vom und zum Stein ###
country_event = {
	id = 50040
	title = "EVTNAME50040"
	desc = "EVTDESC50040"
	
	fire_only_once = yes
	
	trigger = {
		tag = PRU
		NOT = {
			war_with = FRA
		}
		relation = {
			who = FRA
			value = 50
		}
		has_country_flag = stein_flag
	}
	
	mean_time_to_happen = {
		months = 12
		
		modifier = {
			factor = 0.9
			NOT = { treasury = 1000 }
		}
		modifier = {
			factor = 0.9
			NOT = { treasury = 500 }
		}
		modifier = {
			factor = 0.5
			alliance_with = FRA
		}
	}
	
	immediate = {
		set_country_flag = stein_dismissed_flag
	}
	
	option = {
		name = "EVTOPTA50040"
		clr_country_flag = stein_flag
		prestige = -25
		if = {
			limit = {
				has_country_modifier = hfk_stein
			}
			remove_country_modifier = hfk_stein
		}
	}
}

### August Neidhardt von Gneisenau ###
country_event = {
	id = 50050
	title = "EVTNAME50050"
	desc = "EVTDESC50050"
	
	fire_only_once = yes
	
	trigger = {
		tag = PRU
		has_country_flag = stein_dismissed_flag
		NOT = {
			has_country_modifier = von_gneisenau
		}
	}
	
	mean_time_to_happen = {
		months = 12
		
		modifier = {
			factor = 0.8
			war_with = FRA
		}
	}
	
	option = {
		name = "EVTOPTA50050"
		add_country_modifier = {
			name = von_gneisenau
			duration = 180
		}
	}
}

### University of Berlin ###
country_event = {
	id = 50060
	title = "EVTNAME50060"
	desc = "EVTDESC50060"
	
	fire_only_once = yes
	
	trigger = {
		tag = PRU
		538 = { #Berlin
			owned_by = PRU
			controlled_by = PRU
		}
		NOT = {
			has_country_modifier = university_berlin
		}
	}
	
	mean_time_to_happen = {
		months = 12
	}
	
	option = {
		name = "EVTOPT_OK"
		add_country_modifier = {
			name = university_berlin
			duration = 365
		}
	}
}

### Prussian Military Academy ###
country_event = {
	id = 50070
	title = "EVTNAME50070"
	desc = "EVTDESC50070"
	
	fire_only_once = yes
	
	trigger = {
		tag = PRU
		538 = { #Berlin
			owned_by = PRU
			controlled_by = PRU
		}
		NOT = {
			has_country_modifier = modifier_prussian_military_academy
		}
	}
	
	mean_time_to_happen = {
		months = 12
	}
	
	option = {
		name = "EVTOPT_OK"
		add_country_modifier = {
			name = modifier_prussian_military_academy
			duration = 365
		}
	}
}

### The Statue of Queen Louise (Christian Daniel Rauch) ###
country_event = {
	id = 50080
	title = "EVTNAME50080"
	desc = "EVTDESC50080"
	
	fire_only_once = yes
	
	trigger = {
		tag = PRU
		year = 1811
		has_country_flag = queen_louise_dead_flag
	}
	
	mean_time_to_happen = {
		months = 12
	}
	
	option = {
		name = "EVTOPT_OK"
		prestige = 20
	}
}

### Brothers Grimm - Kinder- und Hausmrchen ###
country_event = {
	id = 50090
	title = "EVTNAME50090"
	desc = "EVTDESC50090"
	
	fire_only_once = yes
	
	trigger = {
		tag = PRU
		year = 1812
		NOT = {
			has_country_modifier = brothers_grimm
		}
	}
	
	mean_time_to_happen = {
		months = 12
	}
	
	option = {
		name = "EVTOPTA50090"
		add_country_modifier = {
			name = brothers_grimm
			duration = 365
		}
	}
}

### Carl von Clausewitz ###
country_event = {
	id = 50100
	title = "EVTNAME50100"
	desc = "EVTDESC50100"
	
	fire_only_once = yes
	
	trigger = {
		tag = PRU
		OR = {
			war_with = FRA
			truce_with = FRA
			alliance_with = FRA
		}
		NOT = {
			has_country_modifier = carl_von_clausewitz
		}
	}
	
	mean_time_to_happen = {
		months = 12
	}
	
	option = {
		name = "EVTOPTA50100"
		add_country_modifier = {
			name = carl_von_clausewitz
			duration = 365
		}
	}
}

### Alexander von Humboldt ###
country_event = {
	id = 50105
	title = "EVTNAME50105"
	desc = "EVTDESC50105"
	
	fire_only_once = yes
	
	trigger = {
		tag = PRU
		total_ideas = 5
		538 = { #Berlin
			owned_by = PRU
			controlled_by = PRU
		}
	}
	
	mean_time_to_happen = {
		months = 12
	}
	
	option = {
		name = "EVTOPTA50105"
		add_country_modifier = {
			name = alexander_von_humboldt
			duration = 365
		}
	}
	option = {
		name = "EVTOPTB50105"
		prestige = 15
	}
}

### Nazarene movement - German Artists! ###
country_event = {
	id = 50110
	title = "EVTNAME50110"
	desc = "EVTDESC50110"
	
	fire_only_once = yes
	
	trigger = {
		tag = PRU
		370 = {
			owner = {
				NOT = {
					war_with = PRU
				}
			}
		}
	}
	
	mean_time_to_happen = {
		months = 12
	}
	
	option = {
		name = "EVTOPTA50110"
		idea_points = 35
	}
}

### Museum fr Naturkunde ###
country_event = {
	id = 50115
	title = "EVTNAME50115"
	desc = "EVTDESC50115"
	
	fire_only_once = yes
	
	trigger = {
		tag = PRU
		total_ideas = 9
		538 = { #Berlin
			owned_by = PRU
			controlled_by = PRU
		}
	}
	
	mean_time_to_happen = {
		months = 12
	}
	
	option = {
		name = "EVTOPT_OK"
		add_country_modifier = {
			name = museum_naturkunde
			duration = 365
		}
	}
}

### Ludwig Achim von Arnim ###
country_event = {
	id = 50120
	title = "EVTNAME50120"
	desc = "EVTDESC50120"
	
	fire_only_once = yes
	
	trigger = {
		tag = PRU
		538 = { #Berlin
			owned_by = PRU
			controlled_by = PRU
		}
	}
	
	mean_time_to_happen = {
		months = 12
	}
	
	option = {
		name = "EVTOPTA50120"
		idea_points = 30
	}
}

### Johann Friedrich Blumenbach ###
country_event = {
	id = 50125
	title = "EVTNAME50125"
	desc = "EVTDESC50125"
	
	fire_only_once = yes
	
	trigger = {
		tag = PRU
		total_ideas = 7
		478 = { #Gttingen
			controlled_by = PRU
		}
	}
	
	mean_time_to_happen = {
		months = 12
	}
	
	option = {
		name = "EVTOPT_OK"
		idea_points = 30
	}
}

### An Mein Volk ###
country_event = {
	id = 50130
	title = "EVTNAME50130"
	desc = "EVTDESC50130"
	
	fire_only_once = yes
	
	trigger = {
		tag = PRU
		war_with = FRA
	}
	
	mean_time_to_happen = {
		months = 12
		
		modifier = {
			factor = 0.5
			year = 1813
		}
	}
	
	option = {
		name = "EVTOPTA50130"
		manpower = 5000
	}
}
